package com.Iron.Test;

import com.Iron.Service.BaseMethod;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class TestAop {

    /**
     *
     * arg: 12.3
     * getBean: BeanFactory
     * @param args
     */

    public static void main(String[] args) {

        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("application.xml");
        BaseMethod bean = context.getBean(BaseMethod.class);
        bean.call();
    }
}
